package com.olive.service;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @Description: 自定义可订阅通道
 */
public interface MessageRevceiver {
    /**
     * Input channel name.
     */
    String INPUT = "myInput";

    /**
     * 消费者信道
     */
    @Input(MessageRevceiver.INPUT)
    SubscribableChannel input();
}

